home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / diskutil / flashfmt.lzh / FLASHFMT.ASC next >
Encoding:
Text File  |  1990-02-01  |  3.7 KB  |  85 lines

  1.  
  2.                            FLASH FORMAT
  3.                        Steve Crunk 1/30/90
  4.  
  5.  
  6.  
  7. What's faster that a speeding bullet? Faster that TWISTER? This
  8. little program reveals an oddity with the XBIOS format command, and 
  9. allows you to take advantage of it. We will discuss in a moment 
  10. the theory. Right now, let's look at the results that can be 
  11. achieved using disks formatted by FLASH FORMAT. The times were 
  12. determined using CHEETAH by Jay Jones, a file transfer utility. 
  13. The source was the root directory of a Hard Disk, so that end of 
  14. the transfer is negligible. The destination was my drive B.
  15.  
  16. ----------------------------------------------------------------
  17.                    STANDARD XBIOS | TWISTER FORMAT | FAST FORMAT
  18. ----------------------------------------------------------------
  19. Time to copy 238k      46.25 sec      34.52 sec       25.10 sec  
  20. Avg. Transfer rate    .31 mb/min     .41 mb/min      .54 mb/min
  21. ----------------------------------------------------------------
  22.  
  23. "Wow!" says he. "I thought TWISTER pushed the drive to its 
  24. theoretical maximum." Well, if that is so, then you just entered 
  25. hyperspace (Warp 3, Mister Sulu).
  26.  
  27.  
  28. THEORY (or, how does it work?)
  29.  
  30. When a disk drive reads data, the head is located over a track and 
  31. the sectors are read. Once the sector count reaches 9 (for 
  32. standard format) the head must step in again. To verify that it is 
  33. properly positioned, it must read the identity of sector 1 of the 
  34. next track. By the time it has done this, and decided it is 
  35. properly located, sector one as passed by, so the drive twiddles 
  36. its thumbs while the the disk rotates all the way around again 
  37. before it can continue to read the data.
  38.  
  39. It is this "overhead" of thumb twiddling while the disk spins 
  40. around that we want to eliminate. TWISTER does it by skewing the 
  41. sector numbers on succeeding tracks so that the drive can 
  42. immediately begin reading. FLASH does it by using an interleave of 
  43. 11. 
  44.  
  45. An interleave of 11 causes the formating routine to try to format 
  46. 11 sectors. Now, there is just room for 10.5 sectors in a track. 
  47. Since you told the XBIOS routine you were formatting for 9 sectors 
  48. per track, sector 10 and the half sector 11 are essentially 
  49. invisible. Also, sectors 10 and 11 appear at the beginning of the 
  50. track.
  51.  
  52. Now, here's what happens. The head is positioned over a track and 
  53. reads data starting with sector 1. When it gets to sector nine, 
  54. the head steps in to the next track. While it is stepping, Sector 
  55. 10 goes by. It reads sector 11 header to determine if its in the 
  56. right position, and then looks for sector 1, which immediately 
  57. follows the header for sector 11. Thus the drive begins to read 
  58. immediately.
  59.  
  60. I was curious if there might be any drawbacks to this scheme, such 
  61. as low level sector copiers not working with such disks. I tried 
  62. Hypercopy and DoubleClick formatter/copier. Neither had any 
  63. problems. I tried the desktop disk copier. Again, no problems. It 
  64. seems to all intents and purposes that those 1.5 extra sectors on 
  65. the track are not there, except to a stepping head.
  66.  
  67. *****************************************************************
  68. This doesn't mean that some problems won't crop up. I thoroughly 
  69. disclaim any responsibility for any losses incurred as a result 
  70. of using the FLASH FORMAT process.
  71. *****************************************************************
  72.  
  73.  
  74. SOME LINGUERING CONCERNS
  75.  
  76. There may be some data security risks involved. After all, you are 
  77. cramming in the maximum sectors for a track. Data loss might be 
  78. possible.
  79.  
  80. Test it out. Upload comments or GEmail them to me. I'm always glad 
  81. to hear from fellow ST enthusiasts. 
  82.  
  83. S.CRUNK
  84.  
  85.